﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
        {
            //1、猫、狗、鸭、猴，（吃、游泳、爬树）
            Cat c = new Cat();
            c.Name = "猫";
            c.Eat();
            c.Climbing();
            Console.WriteLine();
            Superman s = new Superman();
            s.Name = "超人";
            s.Eat();
            s.Climbing();
            s.Swimming();
            Console.WriteLine();
            Monkey m = new Monkey();
            m.Name = "猴子";
            m.Eat();
            m.Climbing();
            Console.WriteLine();
            Duck d = new Duck();
            d.Name = "鸭子";
            d.Eat();
            d.Swimming();
        }
    }
}
